<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var rightpwd="qazwsxedc"
			var inputpwd=prompt("请您输入密码：")
			if(rightpwd==inputpwd){
				alert("登录成功")
			}else{
				alert("您的密码有误！")
				}
		</script>
	</body>
</html>
